/*
 * GoRoomUserObject.java
 *
 * Created on August 23, 2007, 9:12 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.psu.bd.math.grooms;

import org.cgsuite.CanonicalGame;
import org.cgsuite.CooledGame;
import org.cgsuite.util.Rational;

/**
 *
 * @author joe
 */
public class GoRoomUserObject {
    private final CanonicalGame value;
    private final CanonicalGame chill;
    
    /** Creates a new instance of GoRoomUserObject */
    public GoRoomUserObject(CanonicalGame value) {
        this.value = value;
        this.chill = new CooledGame(value, Rational.ONE).solve();
        
    }

    public CanonicalGame getChill() {
        return chill;
    }

    public CanonicalGame getValue() {
        return value;
    }
    
    public String toString () {
        return chill.toString();
    }
    
}
